package com.example.bankmanage.entity;

import com.alibaba.ttl.threadpool.agent.internal.javassist.bytecode.SignatureAttribute;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.bankmanage.constant.StatusBills;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@SuppressWarnings("all")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
/**
 * 账单表
 */
public class bills {
    Integer billId;//账单id
    Integer accountId;//账户id
    StatusBills billType; //账单类型//ENUM('CREDIT_CARD', 'LOAN', 'UTILITY') NOT NULL,
    Double amount;//账单金额
    Date dueDate;//拖欠日期
    StatusBills paymentStatus;  //ENUM('PAID', 'UNPAID', 'PARTIAL') DEFAULT 'UNPAID',
    Date paymentDate;//支付日期
    String description;//描述
}
